#pragma once
#include "BitSet.h"
class Scene;
class RenderTarget;

class RenderView
{
public:
	RenderView(Scene* scene, Camera* camera, RenderTarget* renderTarget);

	void AddRenderable(Renderable* rend);

public:
	Scene* ScenePtr;
	Camera* CameraPtr;
	RenderTarget* RTT;

	size_t ViewX;
	size_t ViewY;
	size_t ViewWidth;
	size_t ViewHeight;

	Matrix ViewMatrix;
	Matrix ProjectionMatrix;
	Matrix ViewProjMatrix;

	BitSet VisibilityMap;
};